import 'package:flutter/material.dart';
import 'package:laoba_menu/views/home/components/Swiper.dart';

import '../TipRoute.dart';
import 'components/Header.dart';
import 'components/Lists.dart';
import 'components/Swiper.dart';
import 'components/Tabs.dart';

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Container(
      color: Color.fromRGBO(240, 245, 255, 1),
      child: ListView(
        padding: const EdgeInsets.fromLTRB(0, 0, 0, 0),
        children: [Header(), Swipers(), TabsComponents(), Lists()],
      ),
    );
  }
}
